Skip to content

Document that PyType_GetModule returns a borrowed ref#145612

Merged
encukou merged 1 commit intopython:mainfrom
encukou:getmodule-borrow
Mar 9, 2026
Merged

Document that PyType_GetModule returns a borrowed ref#145612
encukou merged 1 commit intopython:mainfrom
encukou:getmodule-borrow

Conversation

@encukou
Copy link
Member

@encukou encukou commented Mar 6, 2026

@encukou encukou merged commit 4485545 into python:main Mar 9, 2026
43 checks passed
@miss-islington-app
Copy link

Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

@encukou encukou deleted the getmodule-borrow branch March 9, 2026 13:32
@miss-islington-app
Copy link

Sorry, @encukou, I could not cleanly backport this to 3.14 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 44855458a423569eaea3df53fd5a0c0032da932d 3.14

@miss-islington-app
Copy link

Sorry, @encukou, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 44855458a423569eaea3df53fd5a0c0032da932d 3.13

encukou added a commit to encukou/cpython that referenced this pull request Mar 9, 2026
…H-145612)

(cherry picked from commit 4485545)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
@bedevere-app
Copy link

bedevere-app bot commented Mar 9, 2026

GH-145682 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Mar 9, 2026
encukou added a commit that referenced this pull request Mar 10, 2026
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 10, 2026
…H-145612) (pythonGH-145682)

(cherry picked from commit 30bcdcd)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
(cherry picked from commit 4485545)
encukou added a commit that referenced this pull request Mar 10, 2026
…) (GH-145732)

(cherry picked from commit 4485545 via 30bcdcd)

Co-authored-by: Petr Viktorin <encukou@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants